﻿using BasicInformation.Domain;
using MediatR;
using Microsoft.AspNetCore.Mvc.RazorPages;
using PublicCommon;

namespace BasicInformation.ReadAPI.Application.Command.OwnerCommand
{
    public class OwnerListCommand:IRequest<PageResult<Owner>>
    {
        public int pageIndex { get; set; }
        public int pageSize { get; set; }
        /// <summary>
        /// 货主名称
        /// </summary>
        public string? OwnersName { get; set; }
        /// <summary>
        /// 货主手机号
        /// </summary>
        public string? PhoneNumber { get; set; }
        /// <summary>
        /// 驾驶证有效日期
        /// </summary>
        public DateTime? ValidDate { get; set; }
    }
}
